package com.springmvc.web.service;

import java.util.List;

import com.springmvc.web.entity.User;

public interface IUserService {
	  
	    public void addUser(User user);
		
		public void delUser(Integer id);
		
		public User getUser(Integer id);
		
		public List<User> getUserByName(int rows,int startrow,String username);
		
		public void updateUser(User user);

		public List<User> getAllUser();
					
		public int getTotal();
		
		public List<User> selectUserByPager(int rows,int startrow,Integer id ,String username);
		
}
